package ziface

type IMsgHandle interface {
	// DoMsgHandler 调度执行Request对应的Router方法
	DoMsgHandler(request IRequest)
	// AddRouter 为消息添加具体的Router
	AddRouter(msgId uint32, router IRouter)
	// StartWorkerPool 启动Worker工作池
	StartWorkerPool()
	// SendMsgToTaskQueue 将请求交给TaskQueue，由对应的Worker进行处理
	SendMsgToTaskQueue(request IRequest)
}
